package com.yuke.cloud.service.wmc.service.impl;

import com.yuke.cloud.common.core.support.BaseService;
import com.yuke.cloud.service.wmc.dao.WmsTransPriceMapper;
import com.yuke.cloud.service.wmc.dto.WmsTransPriceDto;
import com.yuke.cloud.service.wmc.entity.WmsTransPrice;
import com.yuke.cloud.service.wmc.service.WmsTransPriceService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by zys on 2018/12/07.
 */
@Service
@Transactional
public class WmsTransPriceServiceImpl extends BaseService<WmsTransPrice> implements WmsTransPriceService {
    @Resource
    private WmsTransPriceMapper wmsTransPriceMapper;

    @Override
    public List<WmsTransPriceDto> selectTransPriceInfo(Long groupId, Long warehouseId) {
        return wmsTransPriceMapper.selectTransPriceInfo(groupId, warehouseId);
    }
}
